﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001043 RID: 4163
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournLeaveRogueCocoonSceneScRsp : IMessage<RogueTournLeaveRogueCocoonSceneScRsp>, IMessage, IEquatable<RogueTournLeaveRogueCocoonSceneScRsp>, IDeepCloneable<RogueTournLeaveRogueCocoonSceneScRsp>, IBufferMessage
	{
		// Token: 0x1700348F RID: 13455
		// (get) Token: 0x0600BA04 RID: 47620 RVA: 0x001F572F File Offset: 0x001F392F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournLeaveRogueCocoonSceneScRsp> Parser
		{
			get
			{
				return RogueTournLeaveRogueCocoonSceneScRsp._parser;
			}
		}

		// Token: 0x17003490 RID: 13456
		// (get) Token: 0x0600BA05 RID: 47621 RVA: 0x001F5736 File Offset: 0x001F3936
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournLeaveRogueCocoonSceneScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003491 RID: 13457
		// (get) Token: 0x0600BA06 RID: 47622 RVA: 0x001F5748 File Offset: 0x001F3948
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournLeaveRogueCocoonSceneScRsp.Descriptor;
			}
		}

		// Token: 0x0600BA07 RID: 47623 RVA: 0x001F574F File Offset: 0x001F394F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLeaveRogueCocoonSceneScRsp()
		{
		}

		// Token: 0x0600BA08 RID: 47624 RVA: 0x001F5758 File Offset: 0x001F3958
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLeaveRogueCocoonSceneScRsp(RogueTournLeaveRogueCocoonSceneScRsp other) : this()
		{
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BA09 RID: 47625 RVA: 0x001F57A4 File Offset: 0x001F39A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLeaveRogueCocoonSceneScRsp Clone()
		{
			return new RogueTournLeaveRogueCocoonSceneScRsp(this);
		}

		// Token: 0x17003492 RID: 13458
		// (get) Token: 0x0600BA0A RID: 47626 RVA: 0x001F57AC File Offset: 0x001F39AC
		// (set) Token: 0x0600BA0B RID: 47627 RVA: 0x001F57B4 File Offset: 0x001F39B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurSceneInfo RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x17003493 RID: 13459
		// (get) Token: 0x0600BA0C RID: 47628 RVA: 0x001F57BD File Offset: 0x001F39BD
		// (set) Token: 0x0600BA0D RID: 47629 RVA: 0x001F57C5 File Offset: 0x001F39C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600BA0E RID: 47630 RVA: 0x001F57CE File Offset: 0x001F39CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournLeaveRogueCocoonSceneScRsp);
		}

		// Token: 0x0600BA0F RID: 47631 RVA: 0x001F57DC File Offset: 0x001F39DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournLeaveRogueCocoonSceneScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BA10 RID: 47632 RVA: 0x001F582C File Offset: 0x001F3A2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BA11 RID: 47633 RVA: 0x001F5881 File Offset: 0x001F3A81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BA12 RID: 47634 RVA: 0x001F5889 File Offset: 0x001F3A89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BA13 RID: 47635 RVA: 0x001F5894 File Offset: 0x001F3A94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BA14 RID: 47636 RVA: 0x001F58F0 File Offset: 0x001F3AF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BA15 RID: 47637 RVA: 0x001F5948 File Offset: 0x001F3B48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournLeaveRogueCocoonSceneScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BA16 RID: 47638 RVA: 0x001F59B0 File Offset: 0x001F3BB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BA17 RID: 47639 RVA: 0x001F59BC File Offset: 0x001F3BBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rogueTournCurSceneInfo_ == null)
					{
						this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
					}
					input.ReadMessage(this.RogueTournCurSceneInfo);
				}
			}
		}

		// Token: 0x04004AF8 RID: 19192
		private static readonly MessageParser<RogueTournLeaveRogueCocoonSceneScRsp> _parser = new MessageParser<RogueTournLeaveRogueCocoonSceneScRsp>(() => new RogueTournLeaveRogueCocoonSceneScRsp());

		// Token: 0x04004AF9 RID: 19193
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004AFA RID: 19194
		public const int RogueTournCurSceneInfoFieldNumber = 1;

		// Token: 0x04004AFB RID: 19195
		private RogueTournCurSceneInfo rogueTournCurSceneInfo_;

		// Token: 0x04004AFC RID: 19196
		public const int RetcodeFieldNumber = 14;

		// Token: 0x04004AFD RID: 19197
		private uint retcode_;
	}
}
